package com.zhangfeng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Index {

	@RequestMapping(value="/index")
	public String index(Model model) {
		
		model.addAttribute("name", "zhangfeng");
		
		return "index/index";
	}
}
